<template>
  <div class="new-add">
    <span class="iconfont icon-xinzeng" @click="addAddr">新增收货地址</span>
  </div>
</template>

<script>
  export default {
    name: 'new-add',
    methods: {
      addAddr() {
        window.sessionStorage.setItem('editaddresstitle', '新增地址')
        this.$router.push({name: 'editaddress' })
      }
    }
  }
</script>

<style scoped>
  .new-add {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding-top: 20px;
    background-color: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -1px 1px #eee;
    text-align: center;
  }
  .icon-xinzeng {
    font-size: 32px;color: #0097FF;
  }
</style>
